<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">

    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script>
	function showPlan(){
	document.getElementById("showplan").innerHTML
	= "";

	}
	</script>
  </head>

  <body>
    <table border ="1">
    <tbody>
    <tr>
    	<s:if test="#session.loginid == null">
		<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/LoginForm.action"/>">ログイン</a></td>
    	</s:if>
    	<s:else>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/memberEditForm.action"/>">ユーザ情報修正</a></td>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/plan/planWriteForm.action"/>">休暇登録</a></td>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/plan/planMonthly.action"/>">休暇一覧</a></td>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
		<a href="<s:url value="/plan/planDaily.action"/>">休暇書表示</a></td>
</tr>
<tr>
		<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/memberLogout.action"/>">ログアウト</a></td>
         	</s:else>

    </tr>
    </tbody>
    </table>
  </body>
</html>
